|
|||||||||||||||||||
30 day Evaluation Version distributed via the Maven Jar Repository. Clover is not free. You have 30 days to evaluate it. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover | |||||||||||||||||||
Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
FromImpl.java | - | 64.7% | 64.7% | 64.7% |
|
1 |
/*
|
|
2 |
* $Id: FromImpl.java,v 1.1 2004/12/15 14:18:12 patforna Exp $
|
|
3 |
*
|
|
4 |
* Copyright (c) 2004 Patric Fornasier, Pawel Kowalski
|
|
5 |
* Berne University of Applied Sciences
|
|
6 |
* School of Engineering and Information Technology
|
|
7 |
* All rights reserved.
|
|
8 |
*/
|
|
9 |
package bexee.model.elements.impl;
|
|
10 |
|
|
11 |
import javax.xml.namespace.QName;
|
|
12 |
|
|
13 |
import bexee.model.elements.From;
|
|
14 |
import bexee.model.elements.PartnerLink;
|
|
15 |
import bexee.model.elements.Roles;
|
|
16 |
import bexee.model.elements.Variable;
|
|
17 |
|
|
18 |
/**
|
|
19 |
* Default implementation of the <code>From</code> BPEL element.
|
|
20 |
*
|
|
21 |
* @version $Revision: 1.1 $, $Date: 2004/12/15 14:18:12 $
|
|
22 |
* @author Patric Fornasier
|
|
23 |
* @author Pawel Kowalski
|
|
24 |
*/
|
|
25 |
public class FromImpl implements From { |
|
26 |
|
|
27 |
private Variable variable;
|
|
28 |
|
|
29 |
private String part;
|
|
30 |
|
|
31 |
private String query;
|
|
32 |
|
|
33 |
private QName property;
|
|
34 |
|
|
35 |
private PartnerLink partnerLink;
|
|
36 |
|
|
37 |
private Roles roles;
|
|
38 |
|
|
39 |
private String expression;
|
|
40 |
|
|
41 |
private boolean isOpaque; |
|
42 |
|
|
43 |
//**************************************************/
|
|
44 |
// c'tors
|
|
45 |
//**************************************************/
|
|
46 |
|
|
47 | 40 |
public FromImpl() {
|
48 | 40 |
super();
|
49 |
} |
|
50 |
|
|
51 |
//**************************************************/
|
|
52 |
// bexee.model.elements.From
|
|
53 |
//**************************************************/
|
|
54 |
|
|
55 | 40 |
public void setVariable(Variable variable) { |
56 | 40 |
this.variable = variable;
|
57 |
} |
|
58 |
|
|
59 | 6 |
public Variable getVariable() {
|
60 | 6 |
return variable;
|
61 |
} |
|
62 |
|
|
63 | 40 |
public void setPart(String part) { |
64 | 40 |
this.part = part;
|
65 |
} |
|
66 |
|
|
67 | 6 |
public String getPart() {
|
68 | 6 |
return part;
|
69 |
} |
|
70 |
|
|
71 | 40 |
public void setQuery(String query) { |
72 | 40 |
this.query = query;
|
73 |
} |
|
74 |
|
|
75 | 0 |
public String getQuery() {
|
76 | 0 |
return query;
|
77 |
} |
|
78 |
|
|
79 | 40 |
public void setProperty(QName property) { |
80 | 40 |
this.property = property;
|
81 |
} |
|
82 |
|
|
83 | 0 |
public QName getProperty() {
|
84 | 0 |
return property;
|
85 |
} |
|
86 |
|
|
87 | 40 |
public void setPartnerLink(PartnerLink partnerLink) { |
88 | 40 |
this.partnerLink = partnerLink;
|
89 |
} |
|
90 |
|
|
91 | 0 |
public PartnerLink getPartnerLink() {
|
92 | 0 |
return partnerLink;
|
93 |
} |
|
94 |
|
|
95 | 40 |
public void setEndpointReference(Roles roles) { |
96 | 40 |
this.roles = roles;
|
97 |
} |
|
98 |
|
|
99 | 0 |
public Roles getEndpointReference() {
|
100 | 0 |
return roles;
|
101 |
} |
|
102 |
|
|
103 | 40 |
public void setExpression(String expression) { |
104 | 40 |
this.expression = expression;
|
105 |
} |
|
106 |
|
|
107 | 0 |
public String getExpression() {
|
108 | 0 |
return expression;
|
109 |
} |
|
110 |
|
|
111 | 40 |
public void setOpaque(boolean isOpaque) { |
112 | 40 |
this.isOpaque = isOpaque;
|
113 |
} |
|
114 |
|
|
115 | 0 |
public boolean isOpaque() { |
116 | 0 |
return isOpaque;
|
117 |
} |
|
118 |
|
|
119 |
} |
|